package com.ruoyi.report_jl.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.math.BigDecimal;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 粗集料筛分试验检测记录（干筛法）详情业务对象 report_jl_cjlsfgsfjlb_ba_detail
 *
 * @author tll
 * @date 2024-05-22
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class ReportJlCjlsfgsfjlbBaDetailBo extends BaseEntity {

    /**
     * id
     */
    @NotNull(message = "id不能为空", groups = { EditGroup.class })
    private Long detailId;

    /**
     * 主表id
     */
    @NotNull(message = "主表id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long excelId;

    /**
     * 筛分后总质量∑mi（g）分组1
     */
    @NotNull(message = "筛分后总质量∑mi（g）分组1不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal shaifhzzlItem1;

    /**
     * 损耗m5（g）分组1
     */
    @NotNull(message = "损耗m5（g）分组1不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal sunhItem1;

    /**
     * 损耗率（%）分组1
     */
    @NotNull(message = "损耗率（%）分组1不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal sunhlItem1;

    /**
     * 筛分后总质量∑mi（g）分组2
     */
    @NotNull(message = "筛分后总质量∑mi（g）分组2不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal shaifhzzlItem2;

    /**
     * 损耗m5（g）分组2
     */
    @NotNull(message = "损耗m5（g）分组2不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal sunhItem2;

    /**
     * 损耗率（%）分组2
     */
    @NotNull(message = "损耗率（%）分组2不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal sunhlItem2;

    /**
     * 备注
     */
    @NotBlank(message = "备注不能为空", groups = { AddGroup.class, EditGroup.class })
    private String remark;

    /**
     * 筛孔尺寸(mm)
     */
    @NotBlank(message = "筛孔尺寸(mm)不能为空", groups = { AddGroup.class, EditGroup.class })
    private String shaikcc;

    /**
     * 称量次数分组1
     */
    @NotBlank(message = "称量次数分组1不能为空", groups = { AddGroup.class, EditGroup.class })
    private String chenglcsItem1;

    /**
     * 质量m0分组1
     */
    @NotNull(message = "质量m0分组1不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal zhilItem1;

    /**
     * 筛上质量mi(g)分组1
     */
    @NotNull(message = "筛上质量mi(g)分组1不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal shaiszlItem1;

    /**
     * 分计筛余(%)分组1
     */
    @NotNull(message = "分计筛余(%)分组1不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal fenjsyItem1;

    /**
     * 累计筛余(%)分组1
     */
    @NotNull(message = "累计筛余(%)分组1不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal leijsyItem1;

    /**
     * 通过百分率(%)分组1
     */
    @NotNull(message = "通过百分率(%)分组1不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal tonggbflItem1;

    /**
     * 称量次数分组2
     */
    @NotBlank(message = "称量次数分组2不能为空", groups = { AddGroup.class, EditGroup.class })
    private String chenglcsItem2;

    /**
     * 质量m0分组2
     */
    @NotNull(message = "质量m0分组2不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal zhilItem2;

    /**
     * 筛上质量mi(g)分组2
     */
    @NotNull(message = "筛上质量mi(g)分组2不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal shaiszlItem2;

    /**
     * 分计筛余(%)分组2
     */
    @NotNull(message = "分计筛余(%)分组2不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal fenjsyItem2;

    /**
     * 累计筛余(%)分组2
     */
    @NotNull(message = "累计筛余(%)分组2不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal leijsyItem2;

    /**
     * 通过百分率(%)分组2
     */
    @NotNull(message = "通过百分率(%)分组2不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal tonggbflItem2;

    /**
     * 平均累计筛余百分率(%)
     */
    @NotNull(message = "平均累计筛余百分率(%)不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal leijsybflPzh;
    /**
     * 规定级配范围%最小值
     */
    @NotNull(message = "规定级配范围%最小值不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal guidfwMin;
    /**
     * 规定级配范围%最大值
     */
    @NotNull(message = "规定级配范围%最大值不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal guidfwMax;


}
